#pragma once
#include "DXAMLCommon.h"
#include "ParserErrorReporter.h"


class ParserErrorService :
	public ParserErrorReporter
{
public: 
	ParserErrorService(); 
	virtual ~ParserErrorService();
	void Initialize(CCoreServices * pCore);
protected: 
	virtual HRESULT ReportError(XUINT32 iErrorCode, XUINT32 uLine, XUINT32 uColumn, XUINT32 uParamCount, XBOOL bRecoverable, xshared_ptr<CXString> & spMessage);
private: 
	CCoreServices * m_pCore;
};
